﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Critex.Models;

namespace Critex.ViewModels
{
    public class HtmlCollectionAreaViewModel
    {

        public HtmlCollectionAreaViewModel(HtmlCollectionArea area, int sectionId)
        {
            this.Areas = area.HtmlAreas;
            this.AreaId = area.Id;

            this.SectionId = sectionId;
        }

        public IEnumerable<HtmlArea> Areas { get; set; }

        public int AreaId
        {
            get;
            set;
        }

        public int SectionId { get; set; }

    }
}